#pragma once
#include<iostream>
using namespace std;

class Date
{
public:
	Date(int year = 0, int month = 0, int day = 0);

	bool operator<(Date& x1);
	bool operator==(Date& x1);

	bool operator<=(Date& x1);
	bool operator>(Date& x1);
	bool operator>=(Date& x1);

	int getMonthDay();

	Date operator+(int day);
	Date& operator+=(int day);
	Date& operator++();
	Date operator++(int);

	void print();


private:
	int _year;
	int _month;
	int _day;
};

